
//
//  VEHomeTitleDetailTableViewCell.m
//  VEMoneyPorject
//
//  Created by 陈建 on 2018/10/5.
//  Copyright © 2018年 陈建. All rights reserved.
//

#import "VEHomeTitleDetailTableViewCell.h"

@implementation VEHomeTitleDetailTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.lineView.backgroundColor = [UIColor colorWithHexString:kLineViewBgColor];
    self.titleLable.font = kFont(16.f);
    self.titleLable.textColor = [UIColor colorWithHexString:kNomalTextBlackColor];
    self.timeLable.textColor = self.classLable.textColor= [UIColor colorWithHexString:kDetailTextGrayBlackColor];
    self.timeLable.font  = self.classLable.font = kFont(14.f);
    
    // Initialization code
}

- (void)setModel:(VEFastModel *)model{
    _model = model;
    self.titleLable.text = model.ARTICLETITLE;
    self.classLable.text = model.ARTICLETYPE;
    self.timeLable.text = [NSDate dateDescriptionWithTargetDate:model.RELEASETIME andTargetDateFormat:@"yyyy/MM/dd HH:mm:ss"];
    

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
